﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DomeIndoor.aspx.cs" Inherits="PropertyAppraisal.DoemsKanCha.DomeIndoor" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../jquery-easyui-1.3.5/themes/default/easyui.css" rel="stylesheet" />
    <link type="/text/css" href="../jquery-easyui-1.3.5/themes/icon.css" rel="stylesheet" />
    <link href="../jquery-easyui-1.3.5/demo/demo.css" rel="stylesheet" />
    <script type="text/javascript" src="../jquery-easyui-1.3.5/jquery-1.7.2-min.js"></script>
    <script type="text/javascript" src="../jquery-easyui-1.3.5/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../jquery-easyui-1.3.5/easyloader.js"></script>

    <script type="text/javascript" src="../easyui/jquery.params.js"></script>
</head>
<body>
        <iframe width="0" height="0" src="../SessionKeeper.aspx"></iframe>   
        <div class="easyui-panel" fit="true" style="border: none;">
            <div style="margin-left: 30px;" id="ff">

                <table>
                    <tr>
                        <td>房屋实际用途:</td>
                        <td style="padding-left: 50px;">
                            <select class="easyui-combobox" style="width: 800px;" id="indoor_Purpose" data-options="editable:false">
                                <%=DictionaryBD() %>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>总楼层:</td>
                        <td style="padding-left: 50px;">
                            <input class="easyui-validatebox" type="text" id="indoor_LayerNum" data-options="required:true" missingMessage="必填" style="width: 800px;" placeholder="请输入总楼层" maxlength="20" />
                        </td>
                    </tr>
                    <tr>
                        <td>所在楼层:</td>
                        <td style="padding-left: 50px;">
                            <input class="easyui-validatebox" type="text" id="indoor_Layer" data-options="required:true" missingMessage="必填" style="width: 800px;" placeholder="所在楼层楼层" maxlength="20" />
                        </td>
                    </tr>
                    <tr>
                        <td>朝向:</td>
                        <td style="padding-left: 50px;">
                            <select class="easyui-combobox" style="width: 800px;" id="indoor_Orientation" data-options="editable:false">
                                <%=NextBD() %>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>住宅类型:</td>
                        <td style="padding-left: 50px;">
                            <select class="easyui-combobox" style="width: 800px;" id="indoor_Residence" data-options="editable:false">
                                <%=HousTypeBD() %>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>户型:</td>
                        <td style="padding-left: 50px;">
                            <input class="easyui-validatebox" type="text" id="indoor_Bedroom" missingMessage="必填" data-options="required:true" style="width: 80px;" maxlength="20" />卧室
                            <input class="easyui-validatebox" type="text" id="indoor_Hall" missingMessage="必填" data-options="required:true" style="width: 80px;" maxlength="20" />客厅
                            <input class="easyui-validatebox" type="text" id="indoor_Toilet" missingMessage="必填" data-options="required:true" style="width: 80px;" maxlength="20" />卫生间
                            <input class="easyui-validatebox" type="text" id="indoor_Kitchen" missingMessage="必填" data-options="required:true" style="width: 80px;" maxlength="20" />厨房
                            <input class="easyui-validatebox" type="text" id="indoor_Balcony" missingMessage="必填" data-options="required:true" style="width: 80px;" maxlength="20" />阳台
                            <input class="easyui-validatebox" type="text" id="indoor_Terrace" missingMessage="必填" data-options="required:true" style="width: 80px;" maxlength="20" />露台
                            <input class="easyui-validatebox" type="text" id="indoor_Yard" missingMessage="必填" data-options="required:true" style="width: 80px;" maxlength="20" />小院
                        </td>
                    </tr>
                    <tr>
                        <td>客厅装修程度:</td>
                        <td style="padding-left: 50px;">
                            <select class="easyui-combobox" id="indoor_HallDegree" style="width: 330px;" data-options="editable:false">
                                <%=KeTingBD() %>
                            </select>
                            &nbsp;&nbsp;&nbsp;
                            <select class="easyui-combobox" id="indoor_HallDegree1" style="width: 330px;">
                                <option value="1">精装</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>客厅装修情况:</td>
                        <td style="padding-left: 50px;">
                            <table style="padding-left: 50px;">
                                <tr>
                                    <td>内墙：</td>
                                    <td style="padding-left: 30px;">
                                        <input class="kna" t name="neiqiang" type="checkbox" value="31" />涂料 
                                        <input class="kna" name="neiqiang" type="checkbox" value="31" />壁纸 
                                        <input class="kna" name="neiqiang" type="checkbox" value="31" />石材 
                                        <input class="kna" name="neiqiang" type="checkbox" value="31" />瓷砖 &nbsp;&nbsp;
                                        其他：<input id="kna" class="easyui-validatebox" type="text" missingMessage="必填" name="others" style="width: 300px;" maxlength="40" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>顶棚：</td>
                                    <td style="padding-left: 30px;">
                                        <input class="kda" name="neiqiang" type="checkbox" value="32" />涂料 
                                        <input class="kda" name="neiqiang" type="checkbox" value="32" />吊顶 &nbsp;&nbsp;
                                        其他：<input id="kda" class="easyui-validatebox" missingMessage="必填" type="text" name="others" style="width: 300px;" maxlength="40" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>地面：</td>
                                    <td style="padding-left: 30px;">
                                        <input class="kma" name="neiqiang" type="checkbox" value="33" />地砖 
                                        <input class="kma" name="neiqiang" type="checkbox" value="33" />混凝土 
                                        <input class="kma" name="neiqiang" type="checkbox" value="33" />木地板 
                                        <input class="kma" name="neiqiang" type="checkbox" value="33" />地板革 &nbsp;&nbsp;
                                        其他：<input id="kma" class="easyui-validatebox" missingMessage="必填" type="text" name="others" style="width: 300px;" maxlength="40" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>居室装修程度:</td>
                        <td style="padding-left: 50px;">
                            <select class="easyui-combobox" style="width: 800px;" id="indoor_RoomDegree" data-options="editable:false">
                                <%=JushiBD() %>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>居室装修情况:</td>
                        <td style="padding-left: 50px;">
                            <table style="padding-left: 50px;">
                                <tr>
                                    <td>内墙：</td>
                                    <td style="padding-left: 30px;">
                                        <input class="jna" name="neiqiang" type="checkbox" value="31" />涂料 
                                        <input class="jna" name="neiqiang" type="checkbox" value="31" />壁纸 
                                        <input class="jna" name="neiqiang" type="checkbox" value="31" />石材 
                                        <input class="jna" name="neiqiang" type="checkbox" value="31" />瓷砖 &nbsp;&nbsp;
                                        其他：<input id="jna" class="easyui-validatebox" missingMessage="必填" type="text" name="others" style="width: 300px;" maxlength="40" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>顶棚：</td>
                                    <td style="padding-left: 30px;">
                                        <input class="jda" name="neiqiang" type="checkbox" value="32" />涂料 
                                        <input class="jda" name="neiqiang" type="checkbox" value="32" />吊顶 &nbsp;&nbsp;
                                        其他：<input id="jda" class="easyui-validatebox" type="text" missingMessage="必填" name="others" style="width: 300px;" maxlength="40" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>地面：</td>
                                    <td style="padding-left: 30px;">
                                        <input class="jma" name="neiqiang" type="checkbox" value="33" />地砖 
                                        <input class="jma" name="neiqiang" type="checkbox" value="33" />混凝土 
                                        <input class="jma" name="neiqiang" type="checkbox" value="33" />木地板 
                                        <input class="jma" name="neiqiang" type="checkbox" value="33" />地板革 &nbsp;&nbsp;
                                        其他：<input id="jma" class="easyui-validatebox" type="text" missingMessage="必填"  name="others" style="width: 300px;" maxlength="40" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>卫生间装修程度:</td>
                        <td style="padding-left: 50px;">
                            <select class="easyui-combobox" style="width: 800px;" id="indoor_ToiletDegree" data-options="editable:false">
                                <%=WCBD() %>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>卫生间装修情况:</td>
                        <td style="padding-left: 50px;">
                            <table style="padding-left: 50px;">
                                <tr>
                                    <td>内墙：</td>
                                    <td style="padding-left: 30px;">
                                        <input class="wna" name="neiqiang" type="checkbox" value="31" />涂料 
                                        <input class="wna" name="neiqiang" type="checkbox" value="31" />壁纸 
                                        <input class="wna" name="neiqiang" type="checkbox" value="31" />石材 
                                        <input class="wna" name="neiqiang" type="checkbox" value="31" />瓷砖 &nbsp;&nbsp;
                                        其他：<input id="wna" class="easyui-validatebox" missingMessage="必填" type="text" name="others" style="width: 300px;" maxlength="40" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>顶棚：</td>
                                    <td style="padding-left: 30px;">
                                        <input class="wda" name="neiqiang" type="checkbox" value="32" />涂料 
                                        <input class="wda" name="neiqiang" type="checkbox" value="32" />吊顶 &nbsp;&nbsp;
                                        其他：<input id="wda" class="easyui-validatebox" missingMessage="必填" type="text" name="others" style="width: 300px;" maxlength="40" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>地面：</td>
                                    <td style="padding-left: 30px;">
                                        <input class="wma" name="neiqiang" type="checkbox" value="33" />地砖 
                                        <input class="wma" name="neiqiang" type="checkbox" value="33" />混凝土 
                                        <input class="wma" name="neiqiang" type="checkbox" value="33" />木地板 
                                        <input class="wma" name="neiqiang" type="checkbox" value="33" />地板革 &nbsp;&nbsp;
                                        其他：<input id="wma" class="easyui-validatebox" missingMessage="必填" type="text" name="others" style="width: 300px;" maxlength="40" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>洁具情况：</td>
                                    <td style="padding-left: 30px;">
                                        <input class="wja" name="neiqiang" type="checkbox" value="34" />洁具齐全 
                                        <input class="wja" name="neiqiang" type="checkbox" value="34" />浴霸 &nbsp;&nbsp;
                                        其他：<input id="wja" class="easyui-validatebox" missingMessage="必填" type="text" name="others" style="width: 300px;" maxlength="40" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>厨房装修程度:</td>
                        <td style="padding-left: 50px;">
                            <select class="easyui-combobox" style="width: 800px;" id="indoor_KitchenDegree" data-options="editable:false">
                                <%=ChuBD() %>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>厨房装修情况:</td>
                        <td style="padding-left: 50px;">
                            <table style="padding-left: 50px;">
                                <tr>
                                    <td>内墙：</td>
                                    <td style="padding-left: 30px;">
                                        <input class="cna" name="neiqiang" type="checkbox" value="31" />涂料 
                                        <input class="cna" name="neiqiang" type="checkbox" value="31" />壁纸 
                                        <input class="cna" name="neiqiang" type="checkbox" value="31" />石材 
                                        <input class="cna" name="neiqiang" type="checkbox" value="31" />瓷砖 &nbsp;&nbsp;
                                        其他：<input id="cna" class="easyui-validatebox" type="text" missingMessage="必填" name="others" style="width: 300px;" maxlength="40" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>顶棚：</td>
                                    <td style="padding-left: 30px;">
                                        <input class="cda" name="neiqiang" type="checkbox" value="32" />涂料 
                                        <input class="cda" name="neiqiang" type="checkbox" value="32" />吊顶 &nbsp;&nbsp;
                                        其他：<input id="cda" class="easyui-validatebox" type="text" missingMessage="必填" name="others" style="width: 300px;" maxlength="40" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>地面：</td>
                                    <td style="padding-left: 30px;">
                                        <input class="cma" name="neiqiang" type="checkbox" value="33" />地砖 
                                        <input class="cma" name="neiqiang" type="checkbox" value="33" />混凝土 
                                        <input class="cma" name="neiqiang" type="checkbox" value="33" />木地板 
                                        <input class="cma" name="neiqiang" type="checkbox" value="33" />地板革 &nbsp;&nbsp;
                                        其他：<input id="cma" class="easyui-validatebox" type="text" missingMessage="必填" name="others" style="width: 300px;" maxlength="40" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>灶台情况：</td>
                                    <td style="padding-left: 30px;">
                                        <input class="cza" name="neiqiang" type="checkbox" value="35" />成套橱柜 
                                        <input class="cza" name="neiqiang" type="checkbox" value="35" />灶台 
                                        <input class="cza" name="neiqiang" type="checkbox" value="35" />瓷盆 &nbsp;&nbsp;
                                        其他：<input id="cza" class="easyui-validatebox" type="text" missingMessage="必填" name="others" style="width: 300px;" maxlength="40" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>有关说明:</td>
                        <td style="padding-left: 50px;">
                            <textarea name="indoor_Explain" id="indoor_Explain" style="height: 60px; width: 400px;" maxlength="400"></textarea>
                        </td>
                    </tr>
                </table>

            </div>
            <div style="text-align: center; padding: 5px">
                <a class="easyui-linkbutton" id="btn">提交</a>
            </div>
        </div>

</body>
</html>
<script>

    //保存
    $('#btn').bind('click', function () {
        var projectNumber = $.query.get("id");//项目编号
        var indoor_Purpose = $('#indoor_Purpose').combobox('getValue');//房屋实际用途
        var indoor_LayerNum = $("#indoor_LayerNum").val();//总楼层
        var indoor_Layer = $("#indoor_Layer").val();//所在楼层
        var indoor_Orientation = $("#indoor_Orientation").combobox('getValue');//朝向
        var indoor_Residence = $("#indoor_Residence").combobox('getValue');//住宅类型
        var indoor_Bedroom = $("#indoor_Bedroom").val();//卧室
        var indoor_Hall = $("#indoor_Hall").val()//客厅
        var indoor_Toilet = $("#indoor_Toilet").val();//卫生间
        var indoor_Kitchen = $("#indoor_Kitchen").val()//厨房
        var indoor_Balcony = $("#indoor_Balcony").val()//阳台
        var indoor_Terrace = $("#indoor_Terrace").val();//露台
        var indoor_Yard = $("#indoor_Yard").val()//小院
        var indoor_HallDegree2 = $("#indoor_HallDegree").combobox('getValue');
        var indoor_HallDegree1 = $("#indoor_HallDegree1").combobox('getValue');

        var indoor_RoomDegree = $("#indoor_RoomDegree").combobox('getValue');//居室装修程度
        var indoor_ToiletDegree = $("#indoor_ToiletDegree").combobox('getValue');//卫生间装修程度
        var indoor_KitchenDegree = $("#indoor_KitchenDegree").combobox('getValue');//厨房装修程度
        var indoor_HallDegree = indoor_HallDegree2 + "," + indoor_HallDegree1;//客厅装修程度
        var indoor_Explain = $("#indoor_Explain").val();//有关说明

        var Living_Wall = "";//客厅内墙
        for (var i = 0; i < $(".kna").length; i++) {
            if ($(".kna").eq(i).attr("checked") == "checked") {
                Living_Wall += $(".kna").eq(i).val() + ",";
            }
        }
        var living_Wall = Living_Wall.substring(0, Living_Wall.length - 1);
        var livingWall_Other = $("#kna").val();//客厅内墙其他

        var Living_Ceiling = "";//客厅顶棚
        for (var i = 0; i < $(".kda").length; i++) {
            if ($(".kda").eq(i).attr("checked") == "checked") {
                Living_Ceiling += $(".kda").eq(i).val() + ",";
            }
        }
        var living_Ceiling = Living_Ceiling.substring(0, Living_Ceiling.length - 1);
        var livingCeiling_Other = $("#kda").val();//客厅顶棚其他

        var Living_Ground = "";//客厅地面
        for (var i = 0; i < $(".kma").length; i++) {
            if ($(".kma").eq(i).attr("checked") == "checked") {
                Living_Ground += $(".kma").eq(i).val() + ",";
            }
        }
        var living_Ground = Living_Ground.substring(0, Living_Ground.length - 1);
        var livingGround_Othe = $("#kma").val();//客厅地面其他

        var Room_Wall = "";//居室内墙
        for (var i = 0; i < $(".jna").length; i++) {
            if ($(".jna").eq(i).attr("checked") == "checked") {
                Room_Wall += $(".jna").eq(i).val() + ",";
            }
        }
        var room_Wall = Room_Wall.substring(0, Room_Wall.length - 1);
        var roomWall_Other = $("#jna").val();//居室内墙其他

        var Room_Ceiling = "";//居室顶棚
        for (var i = 0; i < $(".jda").length; i++) {
            if ($(".jda").eq(i).attr("checked") == "checked") {
                Room_Ceiling += $(".jda").eq(i).val() + ",";
            }
        }
        var room_Ceiling = Room_Ceiling.substring(0, Room_Ceiling.length - 1);
        var roomCeiling_Other = $("#jda").val();//居室顶棚其他

        var Room_Ground = "";//居室地面
        for (var i = 0; i < $(".jma").length; i++) {
            if ($(".jma").eq(i).attr("checked") == "checked") {
                Room_Ground += $(".jma").eq(i).val() + ",";
            }
        }
        var room_Ground = Room_Ground.substring(0, Room_Ground.length - 1);
        var roomGround_Other = $("#jma").val();//居室地面其他

        var Toilet_Wall = "";//卫生间内墙
        for (var i = 0; i < $(".wna").length; i++) {
            if ($(".wna").eq(i).attr("checked") == "checked") {
                Toilet_Wall += $(".wna").eq(i).val() + ",";
            }
        }
        var toilet_Wall = Toilet_Wall.substring(0, Toilet_Wall.length - 1);
        var toiletWall_Other = $("#wna").val();//卫生间内墙其他

        var Toilet_Ceiling = "";//卫生间顶棚
        for (var i = 0; i < $(".wda").length; i++) {
            if ($(".wda").eq(i).attr("checked") == "checked") {
                Toilet_Ceiling += $(".wda").eq(i).val() + ",";
            }
        }
        var toilet_Ceiling = Toilet_Ceiling.substring(0, Toilet_Ceiling.length - 1);
        var toiletCeiling_Other = $("#wda").val();//卫生间顶棚其他

        var Toilet_Ground = "";//卫生间地面
        for (var i = 0; i < $(".wma").length; i++) {
            if ($(".wma").eq(i).attr("checked") == "checked") {
                Toilet_Ground += $(".wma").eq(i).val() + ",";
            }
        }
        var toilet_Ground = Toilet_Ground.substring(0, Toilet_Ground.length - 1);
        var toiletGround_Other = $("#wma").val();//卫生间地面其他

        var Toilet_Sanitary = "";//卫生间洁具情况
        for (var i = 0; i < $(".wja").length; i++) {
            if ($(".wja").eq(i).attr("checked") == "checked") {
                Toilet_Sanitary += $(".wja").eq(i).val() + ",";
            }
        }
        var toilet_Sanitary = Toilet_Sanitary.substring(0, Toilet_Sanitary.length - 1);
        var toiletSanitary_Other = $("#wja").val();//卫生间洁具其他

        var Kitchen_Wall = "";//厨房内墙
        for (var i = 0; i < $(".cna").length; i++) {
            if ($(".cna").eq(i).attr("checked") == "checked") {
                Kitchen_Wall += $(".cna").eq(i).val() + ",";
            }
        }
        var kitchen_Wall = Kitchen_Wall.substring(0, Kitchen_Wall.length - 1);
        var kitchenWall_Other = $("#cna").val();//房内墙其他


        var Kitchen_Ceiling = "";//厨房顶棚
        for (var i = 0; i < $(".cda").length; i++) {
            if ($(".cda").eq(i).attr("checked") == "checked") {
                Kitchen_Ceiling += $(".cda").eq(i).val() + ",";
            }
        }
        var kitchen_Ceiling = Kitchen_Ceiling.substring(0, Kitchen_Ceiling.length - 1);
        var kitchenCeiling_Other = $("#cda").val();//客厅顶棚其他

        var Kitchen_Ground = "";//厨房地面
        for (var i = 0; i < $(".cma").length; i++) {
            if ($(".cma").eq(i).attr("checked") == "checked") {
                Kitchen_Ground += $(".cma").eq(i).val() + ",";
            }
        }
        var kitchen_Ground = Kitchen_Ground.substring(0, Kitchen_Ground.length - 1);
        var kitchenGround_Other = $("#cma").val();//厨房地面其他

        var Kitchen_Cooking = "";//厨房灶台情况
        for (var i = 0; i < $(".cza").length; i++) {
            if ($(".cza").eq(i).attr("checked") == "checked") {
                Kitchen_Cooking += $(".cza").eq(i).val() + ",";
            }
        }
        var kitchen_Cooking = Kitchen_Cooking.substring(0, Kitchen_Cooking.length - 1);
        var kitchenCookingO_ther = $("#cza").val();//厨房灶台其他

        $.ajax({
            type: "post",
            url: "DomeIndoor.aspx/DomeIndoorAdd",
            data: "{'projectNumber':'" + projectNumber + "', 'indoor_Purpose': " + indoor_Purpose + ", 'indoor_LayerNum':'" + indoor_LayerNum + "','indoor_Layer':" + indoor_Layer
                + ",'indoor_Orientation':" + indoor_Orientation + ",'indoor_Residence':" + indoor_Residence + ",'indoor_Bedroom':'" + indoor_Bedroom + "','indoor_Hall':'" + indoor_Hall
                + "','indoor_Toilet':'" + indoor_Toilet + "','indoor_Kitchen':'" + indoor_Kitchen + "','indoor_Balcony':'" + indoor_Balcony + "','indoor_Terrace':'" + indoor_Terrace
                + "','indoor_Yard':'" + indoor_Yard + "','indoor_HallDegree':'" + indoor_HallDegree + "','indoor_RoomDegree':" + indoor_RoomDegree
                + ",'indoor_ToiletDegree':" + indoor_ToiletDegree + ",'indoor_KitchenDegree':" + indoor_KitchenDegree
                + ",'indoor_Explain':'" + indoor_Explain + "','living_Wall':'" + living_Wall + "','living_Ceiling':'" + living_Ceiling + "','Living_Ground':'" + Living_Ground
                + "','livingGround_Othe':'" + livingGround_Othe + "','Room_Wall':'" + Room_Wall + "','roomWall_Other':'" + roomWall_Other + "','room_Ceiling':'" + room_Ceiling
                + "','roomCeiling_Other':'" + roomCeiling_Other + "','room_Ground':'" + room_Ground + "','roomGround_Other':'" + roomGround_Other + "','toilet_Wall':'" + toilet_Wall
                + "','toiletWall_Other':'" + toiletWall_Other + "','toilet_Ceiling':'" + toilet_Ceiling + "','toiletCeiling_Other':'" + toiletCeiling_Other
                + "','toilet_Ground':'" + toilet_Ground + "','toiletGround_Other':'" + toiletGround_Other + "','toilet_Sanitary':'" + toilet_Sanitary
                + "','toiletSanitary_Other':'" + toiletSanitary_Other + "','kitchen_Wall':'" + kitchen_Wall + "','kitchenWall_Other':'" + kitchenWall_Other
                + "','kitchen_Ceiling':'" + kitchen_Ceiling + "','kitchenCeiling_Other':'" + kitchenCeiling_Other + "','kitchen_Ground':'" + kitchen_Ground
                + "','kitchenGround_Other':'" + kitchenGround_Other + "','kitchen_Cooking':'" + kitchen_Cooking + "','kitchenCookingO_ther':'" + kitchenCookingO_ther
                + "','livingWall_Other':'" + livingWall_Other + "','livingCeiling_Other':'" + livingCeiling_Other + "'}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            async: false,
            success: function (obj) {
                if (obj) {
                    $.messager.alert("提示信息", "保存成功");
                }
                else {
                    $.messager.alert("提示信息", "保存失败");
                }
            }
        })
    })
    $(function () {
        var state = $.query.get("state");
        var P_ReportNumber = $.query.get("id");//项目号
        if (state != "已提交/待勘察") {
            $("select").attr("disabled", true);
            $("input").attr("disabled", true);
            $("textarea").attr("disabled", true);
            $("a").attr("disabled", true);
            $("").attr("disabled", true);
        }
        
        })
</script>

